using System;
using System.Data;
using System.Collections.Generic;
using System.Text;

namespace Cafe.Controller
{
    class ControllerDmBan
    {
        private Cafe.Class.ClsConnection ketnoi = new Cafe.Class.ClsConnection();

        public DataSet LayThongTin()
        {
            return ketnoi.GetData("select * from  dm_ban");
        }

        public void Update(DataTable table)
        {
            ketnoi.Update(table, "select * from  dm_ban", "dm_ban");
        }
    }
}
